﻿<%@page import="com.buyantech.smweb.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<%
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<%@ include file="/commons/meta.jsp" %>
	<base href="<%=basePath%>">
	<title>登陆</title>
	<link rel="stylesheet" href="<c:url value='/styles/login.css'/>"/>
		<link rel="stylesheet" type="text/css" media="all" href="<c:url value='/styles/reset.css'/>" />
		<link rel="stylesheet" type="text/css" media="all" href="<c:url value='/styles/login.css'/>" />
		<link rel="stylesheet" type="text/css" media="all" href="<c:url value='/styles/blue.css'/>" />
		
		<!-- comment extra.css for css validation -->
		<link rel="stylesheet" type="text/css" media="all" href="<c:url value='/styles/extra.css'/>" />
		<style type="text/css">
		.loginerror{
			color:red;
			text-size:18px;
		}
		</style>
	<script type="text/javascript">

/* if(window.frameElement){
	top.location.href="${ctx}/pages/User/login.do";
} */

</script>
		
</head>

<body>
<%@ include file="/commons/messages.jsp" %>
<form action="${ctx}/pages/User/upload.do" method="post" enctype="multipart/form-data">
			<div class="fields">
				<p class="sep error">
					<label class="small" for="user01">账号</label>
					<input id="userName" type="file" ext" name="fileToUpload" cssClass="sText" maxlength="128" class="required"/>
				</p>
				<div class="action">
					<input type="submit" class="butDef" value="登陆" />
				</div>
			</div>
</form>
<script>
	new Validation(document.forms[0],{onSubmit:true});
</script>

</body>
</html>
